Job: edge (rust)
Runner: g1t, Linux X64 (Debian bookworm, Node 24, Python 3, Go, Rust)
Matrix: {"group":"rust","units":"api","rust":true,"image":false}
##[group]G1T_TOKEN permissions
contents: read
metadata: read
##[endgroup]
Checking out flagon-io/g1t into /home/runner/work/repo
[command]git init --quiet
[command]git remote add origin https://g1t.sh/flagon-io/g1t.git
[command]git fetch --no-tags --prune --quiet origin refs/heads/main
[command]git checkout --quiet --force -B main fe7d2329374fb8553a5a1d1b906a597403a96097
Checked out fe7d2329374fb8553a5a1d1b906a597403a96097
##[group]Rust for Workers
rustup target add wasm32-unknown-unknown
##[endgroup]
shell: bash -e /home/runner/_temp/18ddbf297cc7bf6a.sh
info: component rust-std for target wasm32-unknown-unknown is up to date
Cache restored from key: worker-build-Linux-20198271f2bfa646f90a27111263b0637937fdecf1b000ed47c7554968c64152 (2.6 MB in 0.3s)
Cache restored from key: worker-build-tools-Linux-20198271f2bfa646f90a27111263b0637937fdecf1b000ed47c7554968c64152 (115.2 MB in 2.5s)
Cache restored from key: cargo-crates-Linux-f9437572d523fab422c6790fa14184299f4dcdbe7430863b1699525f9c8c3272 (65.0 MB in 1.0s)
Cache restored from key: cargo-target-Linux-rust-e739dd1792513caa6aaec120c2743c9d9a899a4c24b1adbc17a7a3acd72f2d2c (221.1 MB in 6.8s)
##[group]sccache
bash scripts/sccache.sh install
##[endgroup]
shell: bash -e /home/runner/_temp/18debf2c7790daea.sh
sccache: Starting the server...
sccache: error: Server startup failed: cache storage failed to read: Unexpected (temporary) at read => INTERNAL SERVER ERROR

Context:
   uri: https://api.g1t.sh/actions/toolkit/_apis/artifactcache/cache?keys=sccache/.sccache_check&version=sccache-v0.18.0
   response: Parts { status: 500, version: HTTP/1.1, headers: {"cf-ray": "a47a566ec942ee01-SJC", "connection": "close", "content-length": "21", "date": "Fri, 09 Oct 2026 03:35:50 GMT", "nel": "{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}", "report-to": "{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=KnPyul%2B1nrn6nWM67rdGsWC%2FbO806uL3XFuug7tsJmb8JUhqqRhHRUZiUfqSKdkebEDGBm88Ix3b%2FzRW4D4I%2BR4MS9p8HthBUl1w%2F%2BdRDs5gKw6KcoUKv5nBHy5JyiBAUVoIaL5Q2TbG\"}]}", "server": "cloudflare"} }
   service: ghac
   path: .sccache_check
   range: 0-

Backtrace:
   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
   7: <unknown>
   8: <unknown>
   9: <unknown>
  10: <unknown>
  11: <unknown>
  12: <unknown>
  13: <unknown>
  14: <unknown>
  15: <unknown>
  16: <unknown>
  17: <unknown>
  18: <unknown>
  19: <unknown>
  20: <unknown>
  21: <unknown>
  22: <unknown>


##[warning]Warning: sccache's server did not start (it could not read the cache), so this job builds without it
##[group]Install
node scripts/deploy.mjs install --only "api"
##[endgroup]
shell: bash -e /home/runner/_temp/18dfbf2ce33f1bee.sh
npm ci --no-audit --no-fund --workspaces=false

added 37 packages in 4s
npm warn install-scripts 2 packages have install scripts not yet covered by allowScripts:
npm warn install-scripts   esbuild@0.28.1 (postinstall: node install.js)
npm warn install-scripts   workerd@1.20261001.1 (postinstall: node install.js)
npm warn install-scripts
npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.
##[group]Deploy api
node scripts/deploy.mjs deploy --only "api" --force --no-migrations --concurrency 2
##[endgroup]
shell: bash -e /home/runner/_temp/18d8bf2e41d40d01.sh
Deploying fe7d2329374f (Merge empty successes across services: Ok(None) and Ok(()) read back as themselves, so every cache miss is a miss and not a 500, and toolkit failures say why)

unit  stage  action  live          migrations  why
----  -----  ------  ------------  ----------  -----------------------------------------
api   edge   deploy  fd30559cf297              3 changed files (apps/api/src/toolkit.rs)

1 to deploy: edge (api)
== edge: api
[api]  ⛅️ wrangler 4.146.0
[api] ────────────────────
[api] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[api] [custom build] [INFO]: Checking for the Wasm target...
[api] [custom build] 
[api] [custom build] [INFO]: Compiling to Wasm...
[api] [custom build] 
[api] [custom build]    Compiling g1t-contracts v0.1.0 (/home/runner/work/repo/crates/contracts)
[api] [custom build] 
[api] [custom build]    Compiling g1t-kit v0.1.0 (/home/runner/work/repo/crates/kit)
[api] [custom build] 
[api] [custom build]    Compiling g1t-api v0.1.0 (/home/runner/work/repo/apps/api)
[api] [custom build] 
[api] [custom build]     Finished `release` profile [optimized] target(s) in 45.96s
[api] [custom build] 
[api] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[api] [custom build] 
[api] [custom build] [INFO]: :-)Done in 49.36s
[api] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/apps/api/build/.tmp.
[api] [custom build] 
[api] [custom build] 
[api] [custom build]   index.js  29.3kb
[api] [custom build] 
[api] [custom build] ⚡ Done in 7ms
[api] [custom build] 
[api] Total Upload: 6030.08 KiB / gzip: 1299.35 KiB
[api] Worker Startup Time: 7 ms
[api] Your Worker has access to the following bindings:
[api] Binding                                                         Resource          
[api] env.BLOBS (16a4232cb746418db53782aa068be693)                    KV Namespace      
[api] env.ACTIONS_CACHE (g1t-actions-cache)                           R2 Bucket         
[api] env.IDENTITY (g1t-identity)                                     Worker            
[api] env.REPOS (g1t-repos)                                           Worker            
[api] env.WORK (g1t-work)                                             Worker            
[api] env.EVENTS (g1t-events)                                         Worker            
[api] env.RUNNER (g1t-runner)                                         Worker            
[api] env.BILLING (g1t-billing)                                       Worker            
[api] env.INTEGRATIONS (g1t-integrations)                             Worker            
[api] env.WEBHOOKS (g1t-webhooks)                                     Worker            
[api] env.ACTIONS (g1t-actions)                                       Worker            
[api] env.DEPLOYMENTS (g1t-deployments)                               Worker            
[api] env.CONTEXT (g1t-context)                                       Worker            
[api] env.SEARCH (g1t-search)                                         Worker            
[api] env.SECURITY (g1t-security)                                     Worker            
[api] env.PROJECTS (g1t-projects)                                     Worker            
[api] env.PACKAGES (g1t-packages)                                     Worker            
[api] env.API_ANONYMOUS_LIMIT (60 requests/60s)                       Rate Limit        
[api] env.API_TOKEN_LIMIT (1000 requests/60s)                         Rate Limit        
[api] Uploaded g1t-api (3.17 sec)
[api] Deployed g1t-api triggers (1.26 sec)
[api]   api.g1t.sh (custom domain)
[api]   mcp.g1t.sh (custom domain)
[api] Current Version ID: 6be91a62-cf32-4eb6-829e-e7acdad70d6c

unit  stage  result  version                               time   note
----  -----  ------  ------------------------------------  -----  ----
api   edge   ok      6be91a62-cf32-4eb6-829e-e7acdad70d6c  67.2s

Deployed in 68.1s.
##[group]sccache's hits and misses
bash scripts/sccache.sh stats
##[endgroup]
shell: bash -e /home/runner/_temp/18d9bf3e3549f2be.sh
sccache was not used in this job.
